home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
126-150
/
disk_129
/
mrbackup
/
mrbackup2.0
/
makefile
< prev
next >
Wrap
Makefile
|
1992-05-06
|
3KB
|
114 lines
CFLAGS = -b +IMRbackup.dmp
MFLAGS = -b
# Select one of the following definitions. Select the first one if
# you want debugging code added.
# DEBUG = -DDEBUG
DEBUG =
SRC = About.c Backup.c BigFiles.c Compress.c Console.c CopyFile.c Error.c \
IntuiHandler.c List.c MiscRequest.c Restore.c UserPrefs.c
OBJ = About.o Backup.o BigFiles.o Compress.o Console.o CopyFile.o Error.o \
IntuiHandler.o List.o MiscRequest.o Restore.o UserPrefs.o
# Designate the directory which holds the source and object for the
# miscellaneous support routines. Actually, it would be nice to
# collect these into a library...real soon now...
#LIB = :src/lib
LIB = /MRBackup
LIBSRC = $(LIB)/DateRequest.c $(LIB)/MRDates.c \
$(LIB)/DiskMisc.c $(LIB)/FileMisc.c $(LIB)/FormatDisk.c \
$(LIB)/sendpkt.c $(LIB)/Speech.c $(LIB)/Timer.c $(LIB)/unixwild.c
LIBOBJ = $(LIB)/DateRequest.o $(LIB)/MRDates.o \
$(LIB)/DiskMisc.o $(LIB)/FileMisc.o $(LIB)/FormatDisk.o \
$(LIB)/sendpkt.o $(LIB)/Speech.o $(LIB)/Timer.o $(LIB)/unixwild.o
$(LIB)/DateRequest.o: $(LIB)/DateRequest.c
cc $(MFLAGS) -o $(LIB)/DateRequest.o $(LIB)/DateRequest.c
$(LIB)/MRDates.o: $(LIB)/MRDates.c
cc $(MFLAGS) -o $(LIB)/MRDates.o $(LIB)/MRDates.c
$(LIB)/DiskMisc.o: $(LIB)/DiskMisc.c
cc $(MFLAGS) -o $(LIB)/DiskMisc.o $(LIB)/DiskMisc.c
$(LIB)/FileMisc.o: $(LIB)/FileMisc.c
cc $(MFLAGS) -o $(LIB)/FileMisc.o $(LIB)/FileMisc.c
$(LIB)/FormatDisk.o: $(LIB)/FormatDisk.c
cc $(MFLAGS) -o $(LIB)/FormatDisk.o $(LIB)/FormatDisk.c
$(LIB)/sendpkt.o: $(LIB)/sendpkt.c
cc $(MFLAGS) -o $(LIB)/sendpkt.o $(LIB)/sendpkt.c
$(LIB)/Speech.o: $(LIB)/Speech.c
cc $(MFLAGS) -o $(LIB)/Speech.o $(LIB)/Speech.c
$(LIB)/Timer.o: $(LIB)/Timer.h $(LIB)/Timer.c
cc $(MFLAGS) -o $(LIB)/Timer.o $(LIB)/Timer.c
$(LIB)/UnixWild.o: $(LIB)/UnixWild.c
cc $(MFLAGS) -o $(LIB)/UnixWild.o $(LIB)/UnixWild.c
Main.o: MRBackup.h Console.h
cc $(DEBUG) -b Main.c
IntuiHandler.o: MRBackup.dmp Menu.h Screen.c
$(OBJ): MRBackup.dmp
MRBackup.dmp: MRBackup.h Gadget.h Console.h Menu.h
cc $(DEBUG) +HMRBackup.dmp MRBackup.h
MRBackup: Main.o $(OBJ) $(LIBOBJ)
ln -w -o MRBackUp +CDB Main.o $(OBJ) $(LIBOBJ) -lc
MRBackup.TXT: MRBackup.DOC
zoo: MRBackup MRBackup.TXT README ToDo MRBackup.init MRBackup.xcld \
zoo -add MRBackup MRBackup MRBackup.TXT README ToDo S:MRBackup.init
MRBackup.xcld
MRBackup.uue: MRBackup
uuencode > MRBackup.uue MRBackup MRBackup
MRBackup.info.uue: MRBackup.info
uuencode > MRBackup.info.uue MRBackup.info MRBackup.info
EXECFILES = ReadMe MRBackup.info.uue MRBackup.TXT MRBackup.init \
MRBackup.xcld ToDo
execshar: $(EXECFILES) MRBackup.uue
echo "Making shar of executables."
uusplit MRBackup.uue
delete MRBackup.uue
makekit -n EXEC $(EXECFILES) MRBackup.uue*
delete MRBackup.uue#?
date > execshar
SRCFILES = AboutTheSource $(SRC) Makefile
srcshar: $(SRCFILES)
echo "Making shar of sources."
makekit -n SRC *.h $(SRCFILES)
date > srcshar
libshar: $(LIBSRC)
echo "Making shar of library sources."
makekit -n LIB $(LIB)/*.h $(LIBSRC)
date > libshar
shar: execshar srcshar libshar
echo "Archives have been built"
date > shar
> libshar
shar: execshar srcshar libshar
echo "Archives have been built"
date > shar